<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="js/vue.js"></script>
</head>
<body>
<div id="app">
    <ul>
<!--        i+1是因为数组下标从0开始-->
        <li v-for="(v,i) in arr">{{i+1}}  :  {{v}}</li>
    </ul>
</div>

<script>
    new Vue({
        el: "#app",
        data: {
            arr: ["张三", "张四", "张五"]
        }
    });
</script>
</body>
</html>